﻿namespace Digitalmes.Domain.Entities.Mes;

/// <summary>
/// 设备分类
/// </summary>
[SugarTable("equip_machinery_catalog")]
public sealed class EquipMachineryCatalog : AuditedEntity
{
    /// <summary>
    /// 父类型 Id
    /// </summary>
    public long ParentId { get; set; }

    /// <summary>
    /// 项目编号
    /// </summary>
    [NotNull]
    public string? Code { get; set; }

    /// <summary>
    /// 项目名称
    /// </summary>
    [NotNull]
    public string? Name { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
}
